package com.yang.service.impl;

import com.yang.mapper.AreaMapper;
import com.yang.pojo.Area;
import com.yang.service.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: gdp-epidemic
 * @description: 地区名及城市名
 * @author: 杨洲
 * @create: 2021-09-29 22:18
 **/

@Service
public class AreaServiceImpl  implements AreaService {

    @Autowired
    private AreaMapper areaMapper;

    @Override
    public Area getAreaById(int id) {
        return areaMapper.getAreaById(id);
    }
}
